export interface DictPageResponse {
  id: number
  code: string
  name: string
  description: string
  isSystem: boolean
  status: boolean
  createdAt: string
  updatedAt: string
}

export interface DictItem {
  label: string
  value: string | number
  status?: boolean
}

export interface CreateDictData {
  code: string
  name: string
  description: string
  isSystem: boolean
  status: boolean
  items: DictItem[]
}

export interface DictListResponse {
  code: string
  name: string
}

export interface DictPageParams {
  keyword?: string
  status?: boolean
  pageNum?: number
  pageSize?: number
}

export type DictUpdateData = CreateDictData
